package com.jakewharton.rxbinding4.component;

import com.google.auto.value.AutoValue;

import ohos.agp.components.DatePicker;

@AutoValue
public abstract class DatePickerValueChangedEvent {
    public static DatePickerValueChangedEvent create(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
        return new AutoValue_DatePickerValueChangedEvent(view, year, monthOfYear, dayOfMonth);
    }

    DatePickerValueChangedEvent() {}

    public abstract DatePicker view();

    public abstract int year();

    public abstract int monthOfYear();

    public abstract int dayOfMonth();
}
